<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>

<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<html>
<head>
    <title>标准详情</title>
    <link rel="stylesheet" href="${ctx}/static/styles/std_detail.css" type="text/css">
</head>

<body>
<div class="std-main">
    <div class="container">
        <div class="std-detail">
            <div class="std-name">
                <h2>${std.titleCn}</h2>
                <p>标准号：${std.name}</p>
            </div>
            <table class="table table-striped table-hover">
                本标准引用标准包括：${std.reference}
                <p></p>
                <caption>本系统收录其中的：</caption>
                <thead>
                <tr>
                    <th>#</th>
                    <th>标准号</th>
                    <th>中文标题</th>
                </tr>
                <tbody>
                <c:forEach items="${refStds}" var="rs" varStatus="status">
                    <tr>
                        <td>${status.index}</td>
                        <td>${rs.name}</td>
                        <td>${rs.titleCn}</td>
                    </tr>
                </c:forEach>
                </tbody>
                </thead>
            </table>
        </div>

    </div>
</div>

</body>
</html>
